package org.llc.oauthclient.client;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * 测试控制器
 *
 * @author llc
 * @date 2020/1/9 12:11
 * @since 1.0.0
 */
@FeignClient("resource-2")
public interface HelloClient {

    /**
     * 测试远程调用
     *
     * @return java.lang.String
     * @author llc
     * @date 2020/1/10 17:51
     */
    @GetMapping("/user/get")
    String get();
}
